package com.yc.damai.damaiother.mapper;

import com.yc.damai.entity.DmProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 大麦商城-商品表-73 Mapper 接口
 * </p>
 *
 * @author lpt
 * @since 2024-09-08
 */
public interface DmProductMapper extends BaseMapper<DmProduct> {
    @Select("select * from dm_product order by id desc limit 0 , 10")
    List<Map<String,Object>> selectNew();
}
